package com.xbongbong.paas.pojo.workflow.operate.dto;

import com.xbongbong.paas.domain.entity.ext.PaasAttachmentEntityExt;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 工作流 回退
 * @author 魏荣杰
 *
 */
@Getter
@Setter
@ToString
public class WorkflowBackDTO extends BaseDTO {
    private static final long serialVersionUID = 7570409138635584901L;

    /**
     * 流程任务节点id
     */
    @NotNull(message = "{dto.msg.processNodeTaskUpdate.processNodeTaskId.NotNull}")
    private Long taskNodeId;

    /**
     * 审批意见
     */
    @Size(max = 500, message = "{dto.msg.processNodeTaskUpdate.opinion.Size}")
    private String opinion;
    /**
     * 艾特的用户id
     */
    private List<String> atUserIds;
    /**
     * 附件
     */
    private List<PaasAttachmentEntityExt> attachmentList;
    /**
     * 图片
     */
    private List<String> images;

}
